Step by Step Automation using Zerodha API: Python Version by Tewani Puneet

Step by Step Automation using Zerodha API: Python Version by Tewani Puneet

Author:Tewani, Puneet [Tewani, Puneet]
Language: eng
Format: epub
Published: 2020-08-03T16:00:00+00:00


Example to find instrument token of a particular stocks is given below

instrument_dump = kite.instruments("NFO")

instrument_df = pd.DataFrame(instrument_dump)

def instrumentLookup(symbol):

return instrument_df[instrument_df.tradingsymbol==symbol].instrument_token.values[0]

instrumentLookup(‘RELIANCE’)

__________________________________________________

Fox Trading Solutions Repository:www.https://github.com/FoxTradingSolutions/

Output:

11577090

__________________________________________________

Fox Trading Solutions Repository:www.https://github.com/FoxTradingSolutions/



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.